package com.example.demo.Dao;

import com.example.demo.enity.reportInfo;
import com.example.demo.enity.reportInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface reportInfoMapper {
    long countByExample(reportInfoExample example);

    int deleteByExample(reportInfoExample example);

    int deleteByPrimaryKey(Integer rid);

    int insert(reportInfo record);

    int insertSelective(reportInfo record);

    List<reportInfo> selectByExample(reportInfoExample example);

    reportInfo selectByPrimaryKey(Integer rid);

    int updateByExampleSelective(@Param("record") reportInfo record, @Param("example") reportInfoExample example);

    int updateByExample(@Param("record") reportInfo record, @Param("example") reportInfoExample example);

    int updateByPrimaryKeySelective(reportInfo record);

    int updateByPrimaryKey(reportInfo record);
    //自定义查询
    reportInfo selectWithZpidAndRuid(Integer zpid,Integer ruid);
}